// -*- coding: utf-8 -*- 
/**
 * Project: JVMTrain
 *
 * @author: yanking
 * Create time: 2022-04-18 19:51
 * IDE: IntelliJ IDEA
 * Introduction:
 */
package com.JavaStack;

public class stack {
    public static void main(String[] args) {
        stack s = new stack();
        method01();

    }

    public static int method01() {
        System.out.println("method01 is Beginning!");
        int res = method02();
        System.out.println("method01 is Ending!");
        return res;
    }

    private static int method02() {
        System.out.println("method02 is Beginning!");
        int res = method03();
        System.out.println("method02 is Ending!");
        return res;
    }

    private static int method03() {
        System.out.println("method02 is Beginning!");
        System.out.println("value 0 is transporting !");
        return 0;

    }
    // use a web service


}
